import { providers } from "ethers";
import useSWR from "swr";
export const hookFactory =() =>() => {
    const swrRes= useSWR("web3/useAccount", ()=>{
        console.log(deps)
        console.log(params)
        return "Test User"
    })
    return swrRes
}
export const useAccount = hookFactory({ethereum:null,provider:null})
